package com.hd.assistant.biz.service;

import com.alibaba.fastjson.JSONObject;
import com.hd.assistant.biz.service.exception.ServiceException;
import com.hd.assistant.biz.service.query.PaipaiItemSearchQuery;
import com.hd.assistant.dal.dataobject.User;

public interface PaiPaiIsvService {

	public static String USER_INFO_METHOD="/user/getUserInfo.xhtml";
	public static String ITEM_QUERY_METHOD="/item/sellerSearchItemList.xhtml";
	public static String ITEM_DETAIL_METHOD="/item/getItem.xhtml";
	public JSONObject loadUserInfo(User user) throws ServiceException;
	public JSONObject loadSellerItems(PaipaiItemSearchQuery query,User user) throws ServiceException;
	public JSONObject loadItemDetail(String itemCode,User user)throws ServiceException;
}
